﻿using BunnyEater.Domain.Base;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BunnyEater.Domain.SystemManagement
{
    /// <summary>
    /// 角色表
    /// </summary>
    [Table("Role")]
    public class Role : BaseEntity
    {
        /// <summary>
        /// 角色名称
        /// </summary>
        public string? RoleNmae { get; set; }

        /// <summary>
        /// 排序Id
        /// </summary>
        public int SortId { get; set; }

        /// <summary>
        /// 是否启用
        /// </summary>
        public bool State { get; set; }
    }
}
